import { request } from '@/utils/request'

export default ({
    async getLists(data) {
        return request('/cmeduApi/dingding/v1/dingding_em_230506002/lists?filters=' + data, "GET");
    },

    async getEmLists(data) {
        return request('/cmeduApi/dingding/v1/dingding_em_230506001/lists', "GET", data);
    },

    async biind(data) {
        return request('/cmeduApi/dingding/v1/dingding_em_230506002/updateOrInsert', "post", data);
    },


    async unbiind(data) {
        return request('/cmeduApi/dingding/v1/dingding_em_230506002/delete?adhibition_user_id=' + data.adhibition_user_id, "post");
    },
    //获取会议统计
    async getMeetingsData(data) {
        return request('/cmeduApi/dingding/getMeetingCount?' + data, "get");
    },

    //获取会议数据
    async getMeetingByData(data) {
        return request('/cmeduApi/dingding/getMeetingByData?' + data, "get");
    },
   ///获取时长区间数据
    async getMeetingBetweenTime(data) {
        return request('/cmeduApi/dingding/getMeetingBetweenTime?' + data, "get");
    },

     ///获取人数区间数据
     async getMeetingBetweenPerson(data) {
        return request('/cmeduApi/dingding/getMeetingBetweenPerson?' + data, "get");
    },
})